package com.desire.bean.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author LittleDesire
 * @description
 * @date 2022-05-07 周六 11:05
 * @since 17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "ResultBean",description = "后台接口返回数据")
public class ResultBean {
    /**
     * 状态码
     */
    @ApiModelProperty(value = "处理结果状态码")
    int code;

    /**
     * 信息
     */
    @ApiModelProperty(value = "处理结果描述信息")
    String msg;

    /**
     * 数据
     */
    @ApiModelProperty(value = "处理结果的数据")
    Object data;
}

